From: Debian Science Maintainers Date: Fri, 22 Nov 2024 14:28:16 +0000 (+0100) Subject: Make duneproject aware that opm-models is merged with opm-simulators X-Git-Tag: archive/raspbian/2.10.0-4+rpi1^2~3 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22%22/%22http:/www.example.com/cgi/%22https:/%22%22?a=commitdiff_plain;h=3ed729a0eec6c0e792e05a9b0629559dcff682b0;p=dune-common.git Make duneproject aware that opm-models is merged with opm-simulators Last-Update: 2024-11-18 This is needed to kepp autopkgtests from testing working. Can safely be removed laters Last-Update: 2024-11-18 Gbp-Pq: Name duneproject-simulators-is-alias-for-models --- diff --git a/bin/duneproject b/bin/duneproject index eb07398..d8419db 100755 --- a/bin/duneproject +++ b/bin/duneproject @@ -224,6 +224,9 @@ while [ "$DATACORRECT" != "y" -a "$DATACORRECT" != "Y" ]; do read -p " Enter space-separated list: " DEPENDENCIES done set +e + if ! $(echo "$MODULES" | grep opm-models &> /dev/null); then + DEPENDENCIES="$(echo "$DEPENDENCIES" | sed "s/opm-models/opm-simulators/g")" + fi modulesexist "$DEPENDENCIES" "$MODULES" DEPOK=$? set -e